package com.ac.scum.log.web.model.player.mapper;

import com.ac.scum.player.bean.PlayerConsumeTrade;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface PlayerConsumeTradeMapper extends BaseMapper<PlayerConsumeTrade> {

    @Select("select sum(amount) from player_consume_trade where ${where}")
    Long findSumAmountByWhere(@Param("where") String where);
}
